import Vue from 'vue'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import App from './App.vue'
import VueRouter from 'vue-router'	//导入路由
import router from './router'
import less from 'less'
import axios from 'axios'
import echarts from 'echarts'
Vue.prototype.axios = axios;
Vue.prototype.$http = axios;
Vue.prototype.$echarts = echarts;

Vue.use(less)
Vue.config.productionTip = false
axios.defaults.baseURL='http://127.0.0.1:3333/'
Vue.use(ElementUI);
Vue.use(VueRouter)	 //声明使用路由模块
new Vue({
  render: h => h(App),
  router
}).$mount('#app')
